package io.renren.modules.moyuFront.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.modules.moyuFront.entity.DetailMoyu;
import io.renren.modules.moyuFront.entity.FrontMoyuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-30 11:54:18
 */
@Mapper
public interface FrontMoyuDao extends BaseMapper<FrontMoyuEntity> {
    DetailMoyu getDetail(Long moyuId);
    List<String> getMoyuType();
    List<String> getMoyuFeatrue();
    IPage<DetailMoyu> getMoyuList(Page page, @Param("moyuName")String moyuName, @Param("moyuFeature")String moyuFeature, @Param("moyuType") String moyuType);


}
